5b11310909ee9703129c344a0c8661d437d31e21,portal-impl/src/com/liferay/portal/notifications/ChannelImpl.java,ChannelImpl,removeTransientNotificationEventsByUuid,#Collection#,196

Before Change



		try {
			Iterator<NotificationEvent> itr =
				_getNotificationEvents().iterator();

			while (itr.hasNext()) {
				NotificationEvent notificationEvent = itr.next();

After Change


		_reentrantLock.lock();

		try {
			TreeSet<NotificationEvent> notificationEvents =
				_getNotificationEvents();

			Iterator<NotificationEvent> itr = notificationEvents.iterator();

			while (itr.hasNext()) {
				NotificationEvent notificationEvent = itr.next();